package com.star.oauth.mapper;

import com.star.oauth.entity.Client;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

public interface ClientMapper extends BaseMapper<Client> {

    Client selectByClientId(@Param("clientId") String clientId);

    Client selectBySecret(@Param("clientSecret") String clientSecret);
}
